<html>
   <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
   <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

   <f:view>
      <head>               
         <title>A Simple JavaServer Faces Application</title>
      </head>
      <body>
         <h:form>
         	<f:loadBundle basename="com.corejsf.messages" var="msgs"/>
            <h3>
            	<p>
            	<h:outputFormat value="#{msgs.welcome}">
               		<f:param value="#{user.name}"/>
            	</h:outputFormat>
            	</p><p>
            	<h:outputFormat value="#{msgs.loginCount}">
               		<f:param value="#{user.loginCount}"/>
            	</h:outputFormat>
            	</p>
            	<p>
            		<h:outputText value="#{languages}"/>
            	</p>
            </h3>
         </h:form>
      </body>      
   </f:view>
</html>